-- GENERATED SPELL FOR [Expedition Warden] --


function spell0_17855(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17855', 5342, 1)
end

function Sorts_17855(pUnit, Event)
local choix_sorts_17855 = math.random(0, 0)
if choix_sorts_17855 == 0 then
pUnit:RegisterEvent('spell0_17855', 1, 1)
end
end

function mob17855_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17855', math.random(1500, 3000), 1)
end

function mob17855_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17855_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17855_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17855, 1, 'mob17855_Action')
RegisterUnitEvent(17855, 2, 'mob17855_Leave')
RegisterUnitEvent(17855, 3, 'mob17855_Kill')
RegisterUnitEvent(17855, 4, 'mob17855_Die')
